Remove Method (LightSources Collection)

       

Removes a LightSource from the LightSources collection.

Syntax

object.Remove (index)

The Remove method syntax has these parts:

Part Description
collection A object expression that evaluates to an object in the Applies To list.
index Integer. A specific light source by position in the list of light sources.